#include "gp2x/gl.h"

int render(int frame) {
    if(frame > 0) {
        return 0;
    }

    glBegin(GL_LINE_STRIP);
    glVertex3f(-0.5, -0.5, 0.0);
    glVertex3f( 0.5, -0.5, 0.0);
    glVertex3f( 0.5,  0.5, 0.0);
    glVertex3f(-0.5,  0.5, 0.0);
    glEnd();

    return 0;
}
